import Layout from '@/layout'

const system = {
  path: '/system',
  component: Layout,
  //redirect: '/system/company',
  name: 'system',
  meta: { title: '系统设置', icon: 'system' },
  alwaysShow: true,
  children: [
    {
      path: 'company',
      name: 'systemCompany',
      component: () => import('@/views/system/company'),
      meta: { title: '公司信息(重要)' },
    },
    {
      path: 'tags',
      name: 'systemTags',
      component: () => import('@/views/system/tags'),
      meta: { title: '标签管理' },
    },
    {
      path: 'post-manage',
      name: 'PostManage',
      component: () => import('@/views/organize/post-manage/PostManage'),
      meta: { title: '岗位管理' },
    },
    {
      path: 'staff-manage',
      name: 'StaffClients',
      component: () => import('@/views/organize/staff-manage/StaffManage'),
      meta: { title: '员工管理' },
    },
    {
      path: 'msg-rec',
      name: 'msgRecord',
      component: () => import('@/views/system/msgRecord'),
      meta: { title: '短信发送记录' },
    },
    {
      path: 'file-download',
      name: 'fileDownload',
      component: () => import('@/views/system/download'),
      meta: { title: '文件下载' },
    },
  ],
}

export { system }
